package org.example.sys.controller;


import cn.hutool.core.util.StrUtil;
import com.baomidou.mybatisplus.extension.service.IService;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.example.sys.entity.SysGame;
import org.example.sys.service.ISysGameService;
import org.example.utlis.BaseController;
import org.example.utlis.ResponseUtil;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * <p>
 * 游戏表 前端控制器
 * </p>
 *
 * @author Joey
 * @since 2021-02-27
 */
@RestController
@RequestMapping("/sys/game")
@Slf4j
public class SysGameController extends BaseController<SysGame> {
    @Resource
    ISysGameService sysGameService;

    @Override
    public IService<SysGame> getService() {
        return sysGameService;
    }
}

